package com.gr.springboot_shiro.service;

import com.gr.springboot_shiro.entity.Perms;
import com.gr.springboot_shiro.entity.User;

import java.util.List;


public interface UserService {
    void registerUser(User user);

    User findByUserName(String userName);

    User findRolesByUserName(String username);

    List<Perms> findPermsByRoleId(int id);

}
